//
//  UITextField+TP_Utility.m
//  E_Car
//
//  Created by 谭鹏 on 2017/4/29.
//  Copyright © 2017年 谭鹏. All rights reserved.
//

#import "UITextField+TP_Utility.h"

@implementation UITextField (TP_Utility)
- (instancetype)initWithTitle:(NSString *)title placeholder:(NSString *)placeholder font:(UIFont *)font bgColor:(UIColor *)bgcolor borderWidth:(CGFloat)borderWidth borderColor:(CGColorRef)borderColor
{
    self = [super init];
    if (self) {
        self.text = title;
        self.font = font;
        self.backgroundColor = bgcolor;
        self.placeholder = placeholder;
        self.layer.borderWidth = borderWidth;
        self.layer.borderColor = borderColor;
        
    }
    return self;
}
@end
